func go/types.allBoolean
9 uses
go/types (current package)
expr.go#L69: token.NOT: allBoolean,
expr.go#L773: token.LAND: allBoolean,
expr.go#L774: token.LOR: allBoolean,
expr.go#L903: if allBoolean(x.typ()) != allBoolean(y.typ()) {
predicates.go#L46: func allBoolean(t Type) bool { return allBasic(t, IsBoolean) }
recording.go#L104: assert(isTyped(t0) && isTyped(t1) && (allBoolean(t1) || t1 == universeError))
stmt.go#L612: if x.isValid() && !allBoolean(x.typ()) {
stmt.go#L840: if x.isValid() && !allBoolean(x.typ()) {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)